<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <!-- HTML：定义网页的结构和内容 -->
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>非常牛逼的网页</title>
    <!-- CSS：定义网页的样式和外观 -->
    <style>
        body {
            font-family: '微软雅黑', Arial, sans-serif;
            background-color: #44bee7;
            margin: 0;
            padding: 20px;
        }
        h1 {
            color: #af1b1b;
            text-align: center;
        }
        .box {
            background-color: rgb(238, 239, 237);
            padding: 20px;
            margin: 20px auto;
            width: 80%;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(194, 219, 48, 0.1);
            transition: transform 0.3s ease;
        }
        .box:hover {
            transform: translateY(-5px);
        }
        button {
            background-color: #4CAF50;
            color: rgb(105, 214, 57);
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 5px;
        }
        button:hover {
            background-color: #a5ed48;
        }
    
    .box p{
        text-align:center;
    }
    </style>
</head>
<body>
    <h1 style="color: #c32182;">我在西大的编辑日常</h1>
    <div class="box">
        <p style="font-size: 50px; color: #cd177e;">欢迎来到这个网页</p>
        
        
    </div>
    <!-- 中间区域 -->
<div class="box">
  <p style="font-size: 30px; color: #1d6201;">他们走不了了</p >
  <img src="middle.jpg" alt="中间图片" style="width: 200px; height: auto; display: block; margin: 10px auto;">
</div>



</div>
    <div class="box">
  <p style="font-size: 30px; color: #af0f14;">品味不错，我的朋友</p >
  <!-- 新增图片标签 -->
   <img src="left.jpg.jpg" alt="左边图片" style="width: 200px; height: 300px; object-fit:cover;">
   <img src="right.jpg.jpg" alt="右边图片" style="width: 300px; height: 300px; object-fit:cover; float:right;">
  
  <button id="clickBtn">
  <img src="left.jpg.jpg" alt="按钮图标" style="width: 20px; height: 20px; vertical-align: middle;">
  来点试试吧！
</button>来点试试吧！
    

  </button>
</div>
    <!-- JavaScript：定义网页的行为和交互 -->
    <script>
      
        document.addEventListener('DOMContentLoaded', function() {
            const button = document.getElementById('clickBtn');
            let clickCount = 0;
        
            
            button.addEventListener('click', function() {
                clickCount++;
                if (clickCount === 1) {
                    alert('谁还有多余资金');
                } else if (clickCount === 2) {
                    alert('发一把赢了');
                } else if (clickCount === 3) {
                    alert('继续探索，你会发现Web开发的更多乐趣！');
                } else {
                    alert('你已经点击了' + clickCount + '次按钮！看来你对Web开发很感兴趣呢！');
                }
                
            });
        });
    </script>
</body>
</html>